package com.jzo2o.health.model.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;

/**
 * Excel表格对应的实体类
 * @Description ExcelData
 * @Author dmx
 * @Date 2024-12-13
 */
@Data
public class ReservationData {
    @ExcelProperty(value = "日期", index = 0)
    @JsonFormat(pattern = "yyyy-MM-dd")
    //@DateTimeFormat("yyyy-MM-dd")
    private String orderDate;

    @ExcelProperty(value = "可预约数量", index = 1)
    private Integer reservationCount;

}
